class Father {
   public Father() {
      System.out.println("父类构造器执行了");
   }

   public Father(String name) {
        System.out.println("父类构造器执行了，参数为：" + name);
   }

}

class Child extends Father {
   public Child() {
      System.out.println("子类构造器执行了");
   }

   public Child(String name) {
      super(name);
      System.out.println("子类构造器执行了，参数为：" + name);
   }

}
